package com.dgut.coal.entity;

public class Margin {
    private int id;
    private int marginApplyId;
    private int marginSupplierId;
    private int calorieValue;
    private double contractPrice;
    private double freightPrice;
    private int number;
    private int marginType;
    private double marginMoney;
    private String remark;
    private int state;
    private Purchase purchase;
    private Supplier supplier;

    public Supplier getSupplier() {
        return supplier;
    }

    public void setSupplier(Supplier supplier) {
        this.supplier = supplier;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "保证金{" +
                "id=" + id +
                ", marginApplyId=" + marginApplyId +
                ", marginSupplierId=" + marginSupplierId +
                ", calorieValue=" + calorieValue +
                ", contractPrice=" + contractPrice +
                ", freightPrice=" + freightPrice +
                ", number=" + number +
                ", marginType=" + marginType +
                ", marginMoney=" + marginMoney +
                ", remark='" + remark + '\'' +
                ", state=" + state +
                ", purchase=" + purchase +
                ", supplier=" + supplier +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getMarginApplyId() {
        return marginApplyId;
    }

    public void setMarginApplyId(int marginApplyId) {
        this.marginApplyId = marginApplyId;
    }

    public int getMarginSupplierId() {
        return marginSupplierId;
    }

    public void setMarginSupplierId(int marginSupplierId) {
        this.marginSupplierId = marginSupplierId;
    }

    public int getCalorieValue() {
        return calorieValue;
    }

    public void setCalorieValue(int calorieValue) {
        this.calorieValue = calorieValue;
    }

    public double getContractPrice() {
        return contractPrice;
    }

    public void setContractPrice(double contractPrice) {
        this.contractPrice = contractPrice;
    }

    public double getFreightPrice() {
        return freightPrice;
    }

    public void setFreightPrice(double freightPrice) {
        this.freightPrice = freightPrice;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getMarginType() {
        return marginType;
    }

    public void setMarginType(int marginType) {
        this.marginType = marginType;
    }

    public double getMarginMoney() {
        return marginMoney;
    }

    public void setMarginMoney(double marginMoney) {
        this.marginMoney = marginMoney;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Purchase getPurchase() {
        return purchase;
    }

    public void setPurchase(Purchase purchase) {
        this.purchase = purchase;
    }
}
